Blacklist binary target names
authorYoong Kang Lim <yoongkang.lim@gmail.com>
Wed, 3 Jun 2015 13:35:44 +0000 (23:35 +1000)
committerYoong Kang Lim <yoongkang.lim@gmail.com>
Fri, 5 Jun 2015 16:48:26 +0000 (02:48 +1000)
commit82aeaf744ad4a0de7737c61660204e6929973cbf
tree0f9ab7936512484ca9fb4e2d40605db8202ac497
parent69c2af26cfac655d3358d8de6c85e1d0c6b7fbb6
Blacklist binary target names

Some binary targets caused problems as
the directory names exist in target/debug. When
the compilation step fails, the error
message was also not descriptive.

This commit adds a blacklist and a more
descriptive error message.

See #1618.
src/cargo/util/toml.rs
tests/test_cargo_compile.rs